package ecode

import (
	"github.com/zhufuyi/sponge/pkg/errcode"
)

// tkMemberOpenIDChangeLog http service level error code
// each resource name corresponds to a unique number (http type), the number range is 1~100, if there is the same number, trigger panic
var (
	tkMemberOpenIDChangeLogNO       = 78
	tkMemberOpenIDChangeLogName     = "tkMemberOpenIDChangeLog"
	tkMemberOpenIDChangeLogBaseCode = errcode.HCode(tkMemberOpenIDChangeLogNO)

	ErrCreateTkMemberOpenIDChangeLog      = errcode.NewError(tkMemberOpenIDChangeLogBaseCode+1, "failed to create "+tkMemberOpenIDChangeLogName)
	ErrDeleteByIDTkMemberOpenIDChangeLog  = errcode.NewError(tkMemberOpenIDChangeLogBaseCode+2, "failed to delete "+tkMemberOpenIDChangeLogName)
	ErrDeleteByIDsTkMemberOpenIDChangeLog = errcode.NewError(tkMemberOpenIDChangeLogBaseCode+3, "failed to delete by batch ids "+tkMemberOpenIDChangeLogName)
	ErrUpdateByIDTkMemberOpenIDChangeLog  = errcode.NewError(tkMemberOpenIDChangeLogBaseCode+4, "failed to update "+tkMemberOpenIDChangeLogName)
	ErrGetByIDTkMemberOpenIDChangeLog     = errcode.NewError(tkMemberOpenIDChangeLogBaseCode+5, "failed to get "+tkMemberOpenIDChangeLogName+" details")
	ErrListByIDsTkMemberOpenIDChangeLog   = errcode.NewError(tkMemberOpenIDChangeLogBaseCode+6, "failed to list by batch ids "+tkMemberOpenIDChangeLogName)
	ErrListTkMemberOpenIDChangeLog        = errcode.NewError(tkMemberOpenIDChangeLogBaseCode+7, "failed to list of "+tkMemberOpenIDChangeLogName)
	// error codes are globally unique, adding 1 to the previous error code
)
